package cn.jiahua.hospital.mapper;

import cn.jiahua.hospital.pojo.DoctorRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


public interface DoctorRoleMapper {


    public DoctorRole getDoctorRoleById(@Param(value = "id") Integer id);

    public List<DoctorRole> getDoctorRoleListByMap(Map<String, Object> param);

    public Integer getDoctorRoleCountByMap(Map<String, Object> param);

    public Integer insertDoctorRole(DoctorRole doctorRole);

    public Integer updateDoctorRole(DoctorRole doctorRole);

    public Integer deleteDoctorRoleById(@Param(value = "id") Integer id);

    public Integer batchDeleteDoctorRole(Map<String, List<String>> params);

}
